<?php
class MyOrder {
  /**
   * @orm char(64)
   */
  public $trackId;
  /**
   * @orm date
   */
  public $createdDate;
  /**
   * @orm bool
   */
  public $cancelled;
  /**
   * @orm char(64)
   */
  public $type;
  /**
   * @orm decimal(6,2)
   */
  public $price;
  /**
   * @orm composed_of one OrderPackage
   */
  public $photo;
  /**
   * @orm composed_of one OrderPackage
   */
  public $video;
  /**
   * @orm char(4096)
   */
  public $note;
  /**
   * @orm composed_of many OrderPurchase
   */
  public $purchases;
  /**
   * @orm composed_of many OrderProduce
   */
  public $produces;
  /**
   * @orm composed_of many OrderTask
   */
  public $tasks;
  /**
   * @orm composed_of many OrderEvent
   */
  public $events;
  /**
   * @orm has one User
   */
  public $who;
  /**
   * @orm date
   */
  public $when;
  /**
   * @orm composed_of one Status
   */
  public $music;
  /**
   * @orm composed_of one Status
   */
  public $precon;
}
?>